/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 28779
 * Date: 2023-05-10
 * Time: 13:50
 */
public class test {
    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        myStack.push(3);
        myStack.push(1);
        myStack.push(2);
        myStack.pop();
        //System.out.println(myStack.empty());
        System.out.println(myStack.top());
    }
}
